$OpenBSD: patch-port_port_posix_h,v 1.2 2012/08/21 00:28:34 jmatthew Exp $

#define PLATFORM_IS_LITTLE_ENDIAN appropriately.
See http://code.google.com/p/leveldb/issues/detail?id=98

--- port/port_posix.h.orig	Thu May 31 02:56:59 2012
+++ port/port_posix.h	Thu Aug 16 12:00:33 2012
@@ -25,6 +25,7 @@
       defined(OS_DRAGONFLYBSD) || defined(OS_ANDROID)
   #include <sys/types.h>
   #include <sys/endian.h>
+  #define PLATFORM_IS_LITTLE_ENDIAN (_BYTE_ORDER == _LITTLE_ENDIAN)
 #else
   #include <endian.h>
 #endif
